14.2.7 REST Person Deleted notification

The REST Person Deleted event sends a notification to a REST web service when a person's account is deleted from MyID.

If you configure an external system with the name REST Person Deleted and specify the corresponding mapping file RESTPersonDeleted.xml, you can configure MyID to respond to the event with the following.

14.2.7.1 Endpoint

DELETE /people/{People.ObjectID}/personDeleted

14.2.7.2 Data

Copy
{
  "person": {
    "id": "<object ID of the person>",
    "account": {
      "dn": "<person Distinguished Name>",
      "domain": "<domain>",
      "samAccountName": "<SAM account name>",
      "upn": "<UPN>"
    },
    "contact": {
      "emailAddress": "<email>"
    },
    "enabled": "0",
    "name": {
      "first": "<first name>",
      "fullName": "<full name>",
      "last": "<last name>"
    },
    "group": {
      "id": "<object ID of the group>",
      "name": "<group name>"
    },
    "logonName": "<logon name>"
  }
}

14.2.7.3 Expected response

A 200 OK response in the event of success.